package mailclient.util;

public class Util {
	public static boolean isEmail(String email) {
		if (!email.matches("[\\w\\.\\-]+@([\\w\\-]+\\.)+[\\w\\-]+")) {
			return false;
		}
		return true;
	}
	
	public static void main(String[] args) {
		System.out.println(isEmail("sdfdsdf@sd.fdsfsd"));
	}
}
